Rtcl\Models\Payment B

Total Complexity 96
Dependencies 7
Dependents 9
Total lines 580
Lines of code 337
Logical lines of code 146
Comment lines 127
Methods 49
Properties 7

Methods 49

Method Rating Maintainability Complexity Lines of code
add_note()
A
45 7 41
payment_complete()
S
53 6 25
status_transition()
S
61 5 11
get_details()
S
48 3 36
update_status()
S
58 3 16
set_currency()
S
68 4 6
set_status()
S
61 3 12
get_cancel_endpoint()
S
64 3 10
has_status()
S
77 3 3
get_payment_method_title()
S
70 3 5
get_meta()
S
68 3 7
get_cancel_payment_url_raw()
S
59 1 16
is_applied()
S
79 2 3
set_order_key()
S
72 2 5
get_currency()
S
75 2 4
needs_payment()
S
73 2 4
exists()
S
79 2 3
get_maybe_id()
S
78 2 3
get_wc_id()
S
71 2 5
get_status()
S
69 2 7
get_prop()
S
70 2 6
set_prop()
S
70 2 6
get_pricing_id()
S
72 2 6
update_meta()
S
71 2 6
get_payment_method()
S
72 2 6
delete_meta()
S
71 2 6
get_maybe_order_number()
S
79 2 3
get_listing_title()
S
80 1 3
set_total()
S
79 1 3
get_total()
S
80 1 3
set_transaction_id()
S
80 1 3
__construct()
S
77 1 4
get_customer_full_name()
S
71 1 5
get_date_paid()
S
80 1 3
setData()
S
67 1 8
setGateWay()
S
80 1 3
is_membership()
S
78 1 3
set_applied()
S
80 1 3
get_customer_ip_address()
S
80 1 3
get_transaction_id()
S
80 1 3
get_created_date()
S
82 1 3
get_customer_email()
S
73 1 5
set_date_paid()
S
80 1 3
get_id()
S
82 1 3
get_order_key()
S
80 1 3
get_customer_id()
S
80 1 3
get_edit_order_url()
S
77 1 3
get_order_number()
S
78 1 3
get_listing_id()
S
80 1 3